package com.example.service.impl;


import com.example.entity.Authentication;
import com.example.entity.Legalperson;
import com.example.mapper.AuthenticationMapper;
import com.example.service.IAuthenticationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
@Service
public class AuthenticationServiceImpl implements IAuthenticationService {
    @Autowired
    AuthenticationMapper mapper;


    @Override
    public Authentication select(Integer id) {
        return mapper.select(id);
    }

    @Override
    public Map findZt(Integer id) {
        return mapper.findZt(id);
    }

    @Override
    public int updateStatus(Integer zid) {
        return mapper.updateStatus(zid);
    }

    @Override
    public int updateStatus1(Legalperson legalperson) {
        return mapper.updateStatus1( legalperson);
    }
}
